package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 供货分类实体对象 sys_goodsclassification
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysGoodsclassification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供货分类表ID */
    private Long goodsClassificationId;

    /** 供货分类名称 */
    @Excel(name = "供货分类名称")
    private String goodsClassificationName;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;

    private List<SysGoods> list=new ArrayList<SysGoods>();

    public List<SysGoods> getList() {
        return list;
    }

    public void setList(List<SysGoods> list) {
        this.list = list;
    }

    public void setGoodsClassificationId(Long goodsClassificationId)
    {
        this.goodsClassificationId = goodsClassificationId;
    }

    public Long getGoodsClassificationId() 
    {
        return goodsClassificationId;
    }
    public void setGoodsClassificationName(String goodsClassificationName) 
    {
        this.goodsClassificationName = goodsClassificationName;
    }

    public String getGoodsClassificationName() 
    {
        return goodsClassificationName;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsClassificationId", getGoodsClassificationId())
            .append("goodsClassificationName", getGoodsClassificationName())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .toString();
    }
}
